package part08_外观模式_家庭影院;

/**
 * @ClassName: Popcorn
 * @Author: AllenSun
 * @Date: 2020/3/2 21:56
 */
public class Popcorn {
    private static Popcorn instance=new Popcorn();
    public static Popcorn getInstance(){
        return instance;
    }
    
    /**
     * @MethodName: on
     * @Author: AllenSun
     * @Date: 2020/3/2 21:58
     */
    public void on(){
        System.out.println("打开爆米花机开始做爆米花");
    }
    
    /**
     * @MethodName: off
     * @Author: AllenSun
     * @Date: 2020/3/2 21:59
     */
    public void off(){
        System.out.println("爆米花做完了关掉爆米花机");
    }
    
    /**
     * @MethodName: pop
     * @Author: AllenSun
     * @Date: 2020/3/2 21:59
     */
    public void pop(){
        System.out.println("正在取出爆米花");
    }
}
